<?php
/**
 *      [迷你云] (C)2009-2012 南京恒为网络科技.
 *   软件仅供研究与学习使用，如需商用，请访问www.miniyun.cn获得授权
 * 
 */
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo(Yii::app()->params['app']['name'])?> - <?php echo(Yii::app()->params['app']['title'])?></title>
<meta name="keywords" content="<?php echo(Yii::app()->params['app']['name'])?>" />
<meta name="description" content="<?php echo(Yii::app()->params['app']['name'])?>" />
<link href="<?php echo(Yii::app()->params['app']['host'])?>/statics/web/css/default1.css?v=<?php echo(Yii::app()->params['app']['version'])?>" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<?php echo(Yii::app()->params['app']['host'])?>/statics/web/js/jquery.js?v=<?php echo(Yii::app()->params['app']['version'])?>" charset="utf-8"></script>
</head>
<body>

<div id="leftspan" class="leftspan">

	<div class="leftnav">
		 <h3 type="account"  model="updateUser"><a  href="#">账户管理</a></h3>
		 <ol>
			 <li id="typeid1" type="account"  model="updateUser" onclick="javascript:show_menu(1);" class="sel"><a href="#"> 个人资料</a></li>
			 <li id="typeid2" type="account"  model="changePasswd" onclick="javascript:show_menu(2);"><a href="#"> 修改密码</a></li>
		 </ol>
	</div><!-- leftnav -->

	

</div><!-- leftspan -->


<script type="text/javascript">
   
   function midResize(){
	  var winH = ($(window).height());
	  var setH = winH;
	  if (setH < 440)
	  {
	      setH = 440;
	  }
	  $('#leftspan').css('height',setH + 'px');

   }

   setInterval('midResize();',1000);

   $(window).bind('resize',function(){
      midResize();
   });

   $(window).bind('load',function(){
      midResize();
   });

   $('.leftnav a').click(function(){
      var type = $(this).parent().attr("type");
      var model = $(this).parent().attr("model");
	  parent.window.AccountPageCTL.ChangeMode(type, model);
      $('.leftnav a').removeClass('active');
      $(this).addClass('active');
   });
   
</script>
<script language=javaScript>
			function show_menu(ID){
			 	var totalTopMenu=3;
			 	
         	 for(i=1;i<totalTopMenu;i++)
         	 {
         	   if(ID!=i){
               $('#typeid'+i).removeClass("sel");
			   $('#typeid'+i).addClass(" ");

             }else{
              $('#typeid'+i).addClass("sel");
			  $('#typeid'+i).removeClass(" ");       
             }
           }
	}
</script>
</body>
</html>